package modelLayer;


public class Employee extends Person {
    private String password;
    private String department;
    private String type;
    
    public Employee(String name, String phone, String email, String address, int cprNo, 
                    String password, String department, String type) {
         super(name, phone, email, address, cprNo);
         this.password = password;
         this.department = department;
         this.type = type;
        }
    
    public void setPassword(String password) {
        this.password = password;
    }
    
    public void setDepartment(String department) {
        this.department = department;
    }
    
    public void setType(String type) {
        this.type = type;
    }
    
    public String getPassword() {
        return password;
    }
    
    public String getDepartment() {
        return department;
    }
    
    public String getType() {
        return type;
    }
    
}
